﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace pay.Entity
{

    public class ShopCard
    {
        /// <summary>
        /// 产品编号
        /// </summary>
        public int ProductId
        {
            get;
            set;
        }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName
        {
            get;
            set;
        }

        /// <summary>
        /// 单价
        /// </summary>
        public double Price
        {
            get;
            set;
        }

        /// <summary>
        /// 数量
        /// </summary>
        public int Count
        {
            get;
            set;
        }

        /// <summary>
        /// 金额
        /// </summary>
        public double Amount
        {
            get
            {
                return Count * Price;
            }
        }
    }
}
